package com.zretc.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Users {
	@Value(value="100")
	private int id;
	@Value(value="tom海滨")
	private String username;
	
	
	@Override
	public String toString() {
		return "Users [id=" + id + ", username=" + username + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	

}
